{extend name="public:base"}
{block name="title"}YeMiao的博客{/block}
{block name="head"}
<link rel="stylesheet" type="text/css" href="http://blog.0715ym.com/IDCSS/index.css">
<script type="text/javascript" src="http://blog.0715ym.com/IDJS/index.js"></script>
{/block}
{block name="content"}
<div class="page-header" style="margin-top:0px;background-image: url('http://blog.0715ym.com/IDIMG/top-head.jpg');">
	<div class="top-head"> 	
	</div>
	<div class="top-head-content container">
		<div class="col-md-8 col-xs-6" >
			<small style="font-size: 21px;">YeMiaoの博客</small>
		</div>
		<div class="btn-group btn-group-sm col-md-4 col-xs-6" role="group" >
		  <button type="button" class="btn btn-default">Left</button>
		  <button type="button" class="btn btn-default">Middle</button>
		  <button type="button" class="btn btn-default">Right</button>
		</div>
	</div>
  <div class="container top-nav">
  	<div class="col-md-2 col-xs-4">	
  		<button type="button" class="btn btn-link btn-sm" data="0">首页
  			<span class="badge"></span>
  		</button>
  	</div>
  	{volist name="cate" id="vo"}
			<div class="col-md-2 col-xs-4" >
				<button class="btn btn-link btn-sm" type="button" data="{$vo.id}">					
	 			  {$vo.catename} <span class="badge"></span>
				</button>				
			</div>
  	{/volist}  	
  </div>
</div>
<script>
  $(function(){
    // 处理后台传过来的url,进行url定位
    let to_url = '{$to_url}';      
    if(to_url != '' && to_url != '/admin/index/home.html'){    
    	reload(to_url);      
    }
  });
</script>
{/block}
{block name="main"}
<div id="main" class="container">

</div>
{/block}